package com.yn.common.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ArticleTransitVO对象", description="转运相关文章管理表")
public class ArticleTransitVO implements Serializable {
    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "文章ID")
    private Integer id;

    @ApiModelProperty(value = "栏目id")
    private Integer titleManageId;

    @ApiModelProperty(value = "栏目字符串")
    private String titleManageName;

    @ApiModelProperty(value = "栏目类型")
    private String titleType;

    @ApiModelProperty(value = "栏目类型字典值")
    private String titleTypeStr;

    @ApiModelProperty(value = "文章标题")
    private String articleTitle;


    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "修改人")
    private String updateBy;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone="GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone="GMT+8")
    private Date updateTime;
}
